#include "udp.h"

UDP::UDP(QObject *parent)
    : QObject{parent}
    ,target(QHostAddress("192.168.2.13"))
{

}

void UDP::write(QByteArray &data)
{
 socket.writeDatagram(data, target, port);
}
